package com.baobao.dao;

import com.baobao.domain.Parent;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage Parent entities.
 * 
 */
public interface ParentDAO extends JpaDao<Parent> {

	/**
	 * JPQL Query - findParentByBbId2
	 *
	 */
	public Set<Parent> findParentByBbId2(String bbId2) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId2
	 *
	 */
	public Set<Parent> findParentByBbId2(String bbId2, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByPassword
	 *
	 */
	public Set<Parent> findParentByPassword(String password) throws DataAccessException;

	/**
	 * JPQL Query - findParentByPassword
	 *
	 */
	public Set<Parent> findParentByPassword(String password, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByPasswordContaining
	 *
	 */
	public Set<Parent> findParentByPasswordContaining(String password_1) throws DataAccessException;

	/**
	 * JPQL Query - findParentByPasswordContaining
	 *
	 */
	public Set<Parent> findParentByPasswordContaining(String password_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId5Containing
	 *
	 */
	public Set<Parent> findParentByBbId5Containing(String bbId5) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId5Containing
	 *
	 */
	public Set<Parent> findParentByBbId5Containing(String bbId5, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId4
	 *
	 */
	public Set<Parent> findParentByBbId4(String bbId4) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId4
	 *
	 */
	public Set<Parent> findParentByBbId4(String bbId4, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByPhoneContaining
	 *
	 */
	public Set<Parent> findParentByPhoneContaining(String phone) throws DataAccessException;

	/**
	 * JPQL Query - findParentByPhoneContaining
	 *
	 */
	public Set<Parent> findParentByPhoneContaining(String phone, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId1
	 *
	 */
	public Set<Parent> findParentByBbId1(String bbId1) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId1
	 *
	 */
	public Set<Parent> findParentByBbId1(String bbId1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId4Containing
	 *
	 */
	public Set<Parent> findParentByBbId4Containing(String bbId4_1) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId4Containing
	 *
	 */
	public Set<Parent> findParentByBbId4Containing(String bbId4_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId1Containing
	 *
	 */
	public Set<Parent> findParentByBbId1Containing(String bbId1_1) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId1Containing
	 *
	 */
	public Set<Parent> findParentByBbId1Containing(String bbId1_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByName
	 *
	 */
	public Set<Parent> findParentByName(String name) throws DataAccessException;

	/**
	 * JPQL Query - findParentByName
	 *
	 */
	public Set<Parent> findParentByName(String name, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByPhone
	 *
	 */
	public Parent findParentByPhone(String phone_1) throws DataAccessException;

	/**
	 * JPQL Query - findParentByPhone
	 *
	 */
	public Parent findParentByPhone(String phone_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId3
	 *
	 */
	public Set<Parent> findParentByBbId3(String bbId3) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId3
	 *
	 */
	public Set<Parent> findParentByBbId3(String bbId3, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByPrimaryKey
	 *
	 */
	public Parent findParentByPrimaryKey(String phone_2) throws DataAccessException;

	/**
	 * JPQL Query - findParentByPrimaryKey
	 *
	 */
	public Parent findParentByPrimaryKey(String phone_2, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByAccountContaining
	 *
	 */
	public Set<Parent> findParentByAccountContaining(String account) throws DataAccessException;

	/**
	 * JPQL Query - findParentByAccountContaining
	 *
	 */
	public Set<Parent> findParentByAccountContaining(String account, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId3Containing
	 *
	 */
	public Set<Parent> findParentByBbId3Containing(String bbId3_1) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId3Containing
	 *
	 */
	public Set<Parent> findParentByBbId3Containing(String bbId3_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId2Containing
	 *
	 */
	public Set<Parent> findParentByBbId2Containing(String bbId2_1) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId2Containing
	 *
	 */
	public Set<Parent> findParentByBbId2Containing(String bbId2_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByRelation
	 *
	 */
	public Set<Parent> findParentByRelation(Integer relation) throws DataAccessException;

	/**
	 * JPQL Query - findParentByRelation
	 *
	 */
	public Set<Parent> findParentByRelation(Integer relation, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId5
	 *
	 */
	public Set<Parent> findParentByBbId5(String bbId5_1) throws DataAccessException;

	/**
	 * JPQL Query - findParentByBbId5
	 *
	 */
	public Set<Parent> findParentByBbId5(String bbId5_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByNameContaining
	 *
	 */
	public Set<Parent> findParentByNameContaining(String name_1) throws DataAccessException;

	/**
	 * JPQL Query - findParentByNameContaining
	 *
	 */
	public Set<Parent> findParentByNameContaining(String name_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findParentByAccount
	 *
	 */
	public Set<Parent> findParentByAccount(String account_1) throws DataAccessException;

	/**
	 * JPQL Query - findParentByAccount
	 *
	 */
	public Set<Parent> findParentByAccount(String account_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllParents
	 *
	 */
	public Set<Parent> findAllParents() throws DataAccessException;

	/**
	 * JPQL Query - findAllParents
	 *
	 */
	public Set<Parent> findAllParents(int startResult, int maxRows) throws DataAccessException;

}